/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package exampleseverything;

import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import exampleseverything.poi_jxls.ExcelGenerator1;
import net.sf.jxls.exception.ParsePropertyException;
import org.apache.poi.openxml4j.exceptions.InvalidFormatException;
/**
 *
 * @author HellCoders
 */
public class Main {

    //shows the main menu for the application
    private void menu()throws IOException, ParsePropertyException, InvalidFormatException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        System.out.println("Enter the number of the option you want to run.");
        System.out.println("**************************************************");
        System.out.println("***            EXAMPLES EVERYTHING             ***");
        System.out.println("**************************************************");
        System.out.println("***        1. Dynamic Columns                  ***");
        System.out.println("***                                            ***");
        System.out.println("***                                            ***");
        System.out.println("**************************************************");
        int option = Integer.parseInt(br.readLine());

        switch(option) {
            case 1:
                ExcelGenerator1.generateReport();
            break;
            default:
                System.out.println("You must select one of the option in the menu");
            break;
        }
    }
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args)throws IOException {
        //fill the alumnos file with data
        exampleseverything.utils.FilesOp.generateData();
    }

}
